<?php
$z[0]=Array("list","\r\n                          [field:global name='autoindex' runphp='yes']\r\n                          	if(@me%2 == 0){\r\n                          	 	@me = '<tr>';\r\n                          	} else {\r\n                          		@me = '<tr class=\"gray\">';\r\n                          	}\r\n                          [/field:global]\r\n                          <td><a href=\"[field:arcurl/]\"><strong>[field:shopname/]</strong></a></td>\r\n							 <td>[field:address/]</td>\r\n							 <td>[field:saleshotline/]</td>\r\n							 <td class=\"t_cen\">[field:mouthword/]</td>\r\n						   </tr>\r\n			            ",183,806);
$z[0][4]['pagesize']="15";
$z[1]=Array("php","\r\n						    \r\n							\$mysql = \"SELECT t1.id,t1.title,t2.area,t2.shopName,t2.address FROM dede_archives t1 LEFT JOIN dede_addon4sks t2 ON t1.id = t2.aid WHERE t2.typeid='12' AND t1.flag LIKE '%A%' limit 0,5\"; \r\n							\$query = mysql_query(\$mysql); \r\n							\$n=mysql_num_rows(\$query);\r\n							\r\n							while(\$row = mysql_fetch_array(\$query,MYSQL_ASSOC)) {\r\n							      echo '<li class=\"n\"><a href=\"javascript:void(0);\"  onclick=\"window.open(\\'./view.php?aid='.\$row[\"id\"].'\\');return false;\" >'.\$row[\"shopName\"].'</a></li>';\r\n								  \r\n							}\r\n							mysql_close(\$con);\r\n					  ",904,1505);

?>